
import Layout from '@/layout'

export default {
  path: '/auth',
  name: 'auth',
  component: Layout,
  meta: { title: '权限管理', icon: 'el-icon-bank-card' },
  children: [
    {
      path: 'menu',
      name: 'authMenu',
      component: () => import ('@/views/auth/menu'),
      meta: { title: '菜单管理', icon: 'el-icon-place' }
    },
    {
      path: 'role',
      name: 'authRole',
      component: () => import ('@/views/auth/role'),
      meta: {
        title: '角色管理', icon: 'el-icon-menu'
      }
    },
    {
      path: 'user',
      name: 'authUser',
      component: () => import ('@/views/auth/user'),
      meta: {
        title: '用户管理',
        icon: 'el-icon-s-check'

      }
    }
  ]
}
